package com.lanyanhua.job.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: lanyanhua
 * @Date: 2018/10/18 0018 14:21
 * @Description:
 */
@Controller
public class indexController {

    @RequestMapping("/")
    public String index() {
        return "index";
    }

    @RequestMapping("/job/{page}")
    public String job(@PathVariable("page") String page) {
        return "job/" + page;
    }

    @RequestMapping("/jobGroup/{page}")
    public String jobGroup(@PathVariable("page") String page) {
        return "jobGroup/" + page;
    }

    @RequestMapping("/email/{page}")
    public String email(@PathVariable("page") String page) {
        return "email/" + page;
    }

    @RequestMapping("/log/{page}")
    public String log(@PathVariable("page") String page) {
        return "log/" + page;
    }


}
